package com.bac.rentmap.ad.flat.crawler;

import com.bac.rentmap.ad.flat.security.FlatDao;

public class DelegatingFlatCrawledAdDao implements
        FlatCrawledAdDao {
    private FlatDao flatDao;

    @Override
    public FlatCrawledAd getBySecureId(String secureId) {
        return (FlatCrawledAd) flatDao.getBySecureId(FlatCrawledAd.class,
                secureId);
    }

    public void setFlatDao(FlatDao flatDao) {
        this.flatDao = flatDao;
    }
}
